package cn.gson.crm.model.mapper;

import cn.gson.crm.model.pojos.WaouDetails;
import cn.gson.crm.model.pojos.Warehousing;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WarehousingMapper {
    //查询当前登录人入库记录
    public List<Warehousing> selectwar(Integer yid);
    //时间查询
    public List<Warehousing> selecttime(@Param("yid")Integer yid, @Param("statr") String statr, @Param("endtime") String endtime);
    //条件查询
    public List<Warehousing> selectwhere(@Param("yid")Integer yid, @Param("where") String where);
    //修改入库状态
    public void updateruku(Integer wid);
    //查详情
    public List<WaouDetails> selectwaDel(Integer wid);

}
